<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>贡献给 Sigil</title>
  <link href="../Styles/styles.css" rel="stylesheet" type="text/css"/>
</head>

<body>
  <h1 id="developer">贡献给 Sigil</h1>

  <p class="h2subheading">— 帮助发展 —</p>

  <p>Sigil is completely free and open-source software, and it is developed and supported entirely by volunteers who love books and want well-edited ebooks to be easily available. Your entirely optional contributions can help improve Sigil and show your appreciation for making the software available. Feel free to just say hi on the Sigil forum and let others know how useful Sigil is to you.</p>
  <p>Sigil 是完全免费的开源软件，完全由热爱书籍并希望易于编辑的电子书的志愿者开发和支持。您完全可以选择做的贡献可以帮助改善 Sigil，并表示感谢您使用该软件。随时在 Sigil 论坛上打个招呼，让其他人知道 Sigil 对您有多有用。</p>

  <h3 class="sigil_not_in_toc" id="translating">翻译 Sigil</h3>

  <p>Translating Sigil into other languages is highly encouraged. There is an active community of volunteers who translate Sigil already, and new languages can always be added.</p>
  <p>强烈建议将 Sigil 转换为其他语言。已经有活跃的志愿者社区在翻译 Sigil，并且可以随时添加新语言。</p>

  <p>The best way to translate Sigil is to use the web based translation system provided by Transifex. Translations done using Transifex are downloaded just before releasing a new version:</p>
  <p>翻译 Sigil 的最佳方法是使用 Transifex 提供的基于 Web 的翻译系统。在发布新版本之前，将下载使用 Transifex 完成的翻译：</p>

  <ul>
    <li class="indent"><a href="http://www.transifex.net/projects/p/sigil/">Sigil translations @ Transifex</a></li>
  </ul>

  <p>Alternatively you can use local Desktop tools for translation. Sigil uses Qt’s Linguist tool for creating and editing translations. You can either download Qt and compile the tools manually or use the pre-built packages:</p>
  <p>或者，您可以使用本地桌面工具进行翻译。Sigil 使用 Qt 的 Linguist 工具来创建和编辑翻译。您可以下载 Qt 并手动编译工具，也可以使用预构建的软件包：</p>

  <ul>
    <li class="indent"><a href="http://code.google.com/p/photivo/downloads/detail?name=translator-tools-win32.zip">预制翻译工具</a></li>
  </ul>

  <p>Updating and creating new translation files using the Desktop tools is the same process:</p>
  <p>使用桌面工具更新和创建新的翻译文件的过程相同：</p>

  <ul>
    <li>Open a terminal and change to the <span class="example">src/Sigil/Resource_Files/ts</span> directory. This holds all of the raw translation files.</li>
    <li>打开终端，然后转到 <span class="example">src/Sigil/Resource_Files/ts</span> 目录。 这将保存所有原始翻译文件。</li>

    <li>Run <span class="example">lupdate ../../ * -ts out.ts</span> to either generate a new translation file or to update an existing one with any new strings that have been added.</li>
    <li>运行 <span class="example">lupdate ../../ * -ts out.ts</span> 生成一个新的翻译文件，或使用添加的任何新字符串更新一个现有的翻译文件。</li>

    <li>Use Linguist to write translations for the strings in a given ts file.</li>
    <li>使用 Linguist 为给定 ts 文件中的字符串编写翻译。</li>
  </ul>

  <p>All translations files should have the form <span class="example">sigil_lang.ts</span>. Where lang is a two letter language code. For example the Polish translation will have the filename <span class="example">sigil_pl.ts</span>.</p>
  <p>所有翻译文件的格式均应为 <span class="example">sigil_lang.ts</span>。其中 lang 是两个字母的语言代码。例如，波兰语翻译的文件名为 <span class="example">sigil_pl.ts</span>。</p>

  <h3 class="sigil_not_in_toc">协助用户</h3>

  <p>If you are an experienced Sigil user, EPUB expert, or working your way there, you can help by answering questions or commenting on your experiences – primarily at the official Sigil Forum at MobileRead. You can also check issues on the development website and add comments.</p>
  <p>如果您是经验丰富的 Sigil 用户、EPUB 专家或在那里工作，可以通过回答问题或评论您的经验来获得帮助 - 主要是在 MobileRead 的官方 Sigil 论坛上。您还可以在开发网站上检查问题并添加评论。</p>

  <h3 class="sigil_not_in_toc">编码</h3>

  <p>If you are a C++ programmer and have suggestions for improvements or bug fixes you are welcome to submit patches for consideration.</p>
  <p>如果您是 C++ 程序员，并且有改进或错误修复的建议，欢迎提交补丁进行考虑。</p>

  <h3 class="sigil_not_in_toc">捐献</h3>

  <p>Sigil is free software, but your donations are greatly appreciated.</p>
  <p>Sigil 是免费软件，但对您的捐款深表感谢。</p>

  <p>Please use <span class="menuitem">Help→Donate</span> to say thanks and to help maintain Sigil.</p>
  <p>请使用 <span class="menuitem">帮助→捐赠</span> 表示感谢并帮助维护 Sigil。</p>

  <p>The Sigil User Guide is also free. If you have found it useful, you can say thanks by <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=UEAZTDD8CBSZQ">donating directly to the author</a>.</p>
  <p>《Sigil 用户指南》也是免费的。如果您觉得有用，可以直接 <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=UEAZTDD8CBSZQ"">向作者捐款</a>，以表示感谢。</p>
</body>
</html>